package com.nwpu.intimacy.chat;

import android.graphics.Bitmap;

public class ListData {

	public static final int SEND = 1;
	public static final int RECEIVER = 2;
	private String friendname;
	private String username;
	private String content;
	private int flag;
	private String time;
	private Bitmap friendPhoto;
	private Bitmap userPhoto;
	private int type;

	public ListData(String friendname, String username, String content,
			int flag, String time, Bitmap friendPhoto, Bitmap userPhoto,
			int type) {
		setFriendname(friendname);
		setUsername(username);
		setContent(content);
		setFlag(flag);
		setTime(time);
		setFriendPhoto(friendPhoto);
		setUserPhoto(userPhoto);
		setType(type);
	}

	public String getFriendname() {
		return friendname;
	}

	public void setFriendname(String friendname) {
		this.friendname = friendname;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Bitmap getFriendPhoto() {
		return friendPhoto;
	}

	public void setFriendPhoto(Bitmap friendPhoto) {
		this.friendPhoto = friendPhoto;
	}

	public Bitmap getUserPhoto() {
		return userPhoto;
	}

	public void setUserPhoto(Bitmap userPhoto) {
		this.userPhoto = userPhoto;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
}
